<?php

	$list = $_->youban->_select(array('id','Fname','Fdesc','Fswffile','Fimgfile'),array('status'=>'1','LIMIT'=>50));
	foreach($list as &$val)
	{
		$val['Fswffile'] = basename($val['Fswffile']);
		$val['Fimgfile'] = basename($val['Fimgfile']);
	}
	$ch = count($_->youban->_select(array('id'),array('status'=>'2')));
	$smarty->_assign(array('list','ch'));
	$smarty->_display();
?>